﻿using System;

// Token: 0x020001C2 RID: 450
public class CutAct_SubTitle : CutAction
{
	// Token: 0x06000BA5 RID: 2981 RVA: 0x00043E90 File Offset: 0x00042090
	public CutAct_SubTitle(CutScene cutScene) : base(cutScene, CUTACT.SUBTITLE)
	{
	}

	// Token: 0x06000BA6 RID: 2982 RVA: 0x00043E9C File Offset: 0x0004209C
	public CutAct_SubTitle(CutScene cutScene, float time, string text) : base(cutScene, CUTACT.SUBTITLE, time)
	{
		this.text = text;
	}

	// Token: 0x06000BA7 RID: 2983 RVA: 0x00043EB0 File Offset: 0x000420B0
	public override object Clone()
	{
		return new CutAct_SubTitle(this.cutScene);
	}

	// Token: 0x06000BA8 RID: 2984 RVA: 0x00043EC0 File Offset: 0x000420C0
	public override void Load(TagText.Element element, int order)
	{
		base.Load(element, order);
		this.text = TagTextUtility.Load_String(element, "text", -1);
	}

	// Token: 0x06000BA9 RID: 2985 RVA: 0x00043EDC File Offset: 0x000420DC
	public override void Save(TagText.Element element)
	{
		base.Save(element);
		element.AddAttribute("text", this.text);
	}

	// Token: 0x06000BAA RID: 2986 RVA: 0x00043EF8 File Offset: 0x000420F8
	public override void Action(bool skip)
	{
		this.cutScene.SetSubTitle(this.text);
	}

	// Token: 0x04000BD2 RID: 3026
	public string text;
}
